package com.zmj.sy.mom.srv.aps.bean.entity.order;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zmj.sy.mom.srv.aps.bean.entity.base.BaseEntity;
import com.zmj.sy.mom.srv.aps.utils.Comment;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Comment("辅料表")
@TableName("tb_order_accessories")
@Getter
@Setter
public class OrderAccessories extends BaseEntity {

    @Comment("订单ID")
    private Integer orderId;

    @Comment("BOMID")
    private Integer bomId;

    @Comment("工序ID")
    private Integer phaseId;

    @Comment("规格")
    private String spec;

    @Comment("型号")
    private String model;

    @Comment("数量")
    private BigDecimal partCount;

    @Comment("类型：类型：1 焊丝 2钢板 3喷粉")
    private Integer type;

    @Comment("订单类型 1ERP 2MBD 3外揽订单 4工装订单")
    private Integer orderType;

    @Comment("BOM的PID")
    private Integer bomPid;

    @Comment("物料号")
    private String materCode;

    @Comment("物料名称")
    private String materName;

    @Comment("材质")
    private String material;

    @Comment("工序编号")
    private String phaseCode;

}
